package org.example.service;

import org.example.pojo.CommunityContent;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhx
 * @since 2025-01-17
 */
public interface ICommunityContentService extends IService<CommunityContent> {

    List<CommunityContent> getAllContent(CommunityContent content);

    List<CommunityContent> getContentByUserId(Integer userId);


    void likeContent(Integer contentId);

    void unlikeContent(Integer contentId);

    void shareContent(Integer contentId);

    void unshareContent(Integer contentId);
}
